package com.woniuxy.commons.service;

import com.woniuxy.commons.entity.ResponseEntity;
import com.woniuxy.commons.entity.User;
import com.woniuxy.commons.factory.RemoteExamServiceFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

/**
 * @author zouyang
 * @date 2020/8/4 - 19:22
 */
@FeignClient(name = "USER")
public interface RemoteUserService {
    @GetMapping("/selectAllUser")
    public ResponseEntity<List<User>> selectAllUser();
}
